CC = gcc
AR = Ar


all:static_lib compile 
	@rm -r *.o *.a

static_lib:
	@gcc comport.c -c -o comport.o
	@ar -cr libcomport.a comport.o 
compile:
	@gcc -Wall comport_main.c -o comport_test -L`pwd` -lcomport

clean:
	@rm -r comport_test
